import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userinfo:null,
    banner:null,
    content:1
  },
  mutations: {
    changeuserinfo(state,payload){
      state.userinfo = payload
    },
    changebanner(state,payload){
      state.banner = payload
    }
  },
  actions: {

  },
  modules: {

  }
})
